<!--
 * @Author: 471826078@qq.com
 * @Date: 2020-12-11 15:39:13
 * @LastEditors: younghxp
-->
<template>
  <div ref="mainCon" class="container">
    <topTitle :titleText="titleText"></topTitle>
    <component v-bind:is="currentTabComponent"></component>
  </div>
</template>
<script>
// 武汉待指派欠薪诉求
import ToAssignCaseWH from './toAssignCaseWH.vue'
// 黄石大冶待指派欠薪诉求
import ToAssignCaseHS from './toAssignCaseHS.vue'

export default {
  components: { ToAssignCaseWH, ToAssignCaseHS },
  name: 'toAssignCase',
  data() {
    return {
      titleText: '待指派欠薪诉求',
      currentTabComponent: 'ToAssignCaseWH',
    }
  },
  created() {
    if (this.isHsUser()) {
      this.currentTabComponent = 'ToAssignCaseHS'
    }
  },
  methods: {},
}
</script>
<style lang="less" scoped></style>
